<template>
  <div id="app">
    <router-view />
    <van-tabbar v-if="$route.meta.showFooter" route active-color="#ff6633" inactive-color="#777">
      <van-tabbar-item icon="apps-o" replace to="/">工作台</van-tabbar-item>
      <van-tabbar-item icon="chat-o" replace to="/qixin">企信</van-tabbar-item>
      <van-tabbar-item icon="eye-o" replace to="/find">发现</van-tabbar-item>
      <van-tabbar-item icon="manager-o" replace to="/my">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
html,
body {
  margin: 0;
  padding: 0;
}
#app {
  height: 100vh;
  overflow:auto;
  width: 100vw;
  background: #f3f3f3;
}
</style>
